package com.example.site_management_p1.service;
import com.pojo.Entity.Site;
import com.pojo.Entity.VenueRentalForm;
import com.pojo.dto.ToDate;
import com.pojo.dto.ToER;
import com.pojo.dto.ToSite;

import javax.servlet.http.HttpServletRequest;
import java.util.Date;
import java.util.List;

public interface ISiteService {
    public List<ToSite>getlsite(Integer page, Integer number);
    public Site getsite(Integer sID);
    public Integer update(Site site,HttpServletRequest httpServletRequest);
    public Integer insert(Site site, HttpServletRequest httpServletRequest);
    public List<ToDate> getdelsite(String sDate, Integer sID);
    public VenueRentalForm presite(String sBegintime, String sEndtime, String sDate, Integer sID, HttpServletRequest httpServletRequest);
    public VenueRentalForm Cpresite(String sBegintime, String sEndtime, String sDate, Integer sID, HttpServletRequest httpServletRequest);
    public Integer payment(Integer vID,Integer vPaymentStatus);
    public List<ToER>  getAftter(HttpServletRequest httpServletRequest);
    public Integer getsum();

    public Integer delete(Integer sID);
}
